<!DOCTYPE html>
<html>
    <head>
		<title>{$web_title}</title>
        <meta http-equiv="content-type" content="text/html;charset=utf-8">
    </head>
    <body style="margin:0 auto;padding-right:150px;text-align:center;">
        <span id="login_container"></span>
        <script src="//res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
        <script>
			var appid = "{$apiid}";
			var redirecturl = "{$url}";
			var css = "{$css}";
            var obj = new WxLogin({
              id: "login_container",
              appid: appid,
              scope: "snsapi_login",
              redirect_uri: encodeURIComponent(redirecturl),
              state: Math.ceil(Math.random()*1000),
              style: "black",
              href: "data:text/css;base64,LmltcG93ZXJCb3ggLnFyY29kZSB7d2lkdGg6IDIwMHB4O3BhZGRpbmctcmlnaHQ6MTBweDt0ZXh0LWFsaWduOmNlbnRlcjtib3JkZXI6MHB4fQ0KLmltcG93ZXJCb3ggLnRpdGxlIHtkaXNwbGF5OiBub25lO30NCi5pbXBvd2VyQm94IC5pbmZvIHtkaXNwbGF5OiBub25lO30NCi5pbXBvd2VyQm94IC5pbmZvIHt3aWR0aDogMjAwcHg7fQ0KLnN0YXR1c19pY29uIHtkaXNwbGF5OiBub25lfQ0KLmltcG93ZXJCb3ggLnN0YXR1cyB7dGV4dC1hbGlnbjogY2VudGVyO30"});
        </script>
    </body>
</html>
